import axios from './index';

import { URLS } from '../config/urls';

export function ModalAdd(config) {
  return axios({
    method: 'post',
    url: URLS.MODAL.ADD,
    ...config,
  });
}

export function ModalList(config) {
  return axios({
    method: 'post',
    url: URLS.MODAL.LIST,
    ...config,
  });
}

export function ModalPublish(config) {
  return axios({
    method: 'post',
    url: URLS.MODAL.PUBLISTH,
    ...config,
  });
}
